package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 提现限制表
 * </p>
 *
 * @author loupeng
 * @since 2019-03-05
 */
public class Astrict extends Model<Astrict> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "astrict_id")
    private String astrictId;
    /**
     * 商家提现限额
     */
    private Double astrictDinMinimum;
    /**
     * 商家提现抽成
     */
    private Double astrictDinCommission;
    /**
     * 骑手提现限额
     */
    private Double astrictRinMinimum;
    /**
     * 骑手提现抽成
     */
    private Double astrictRinCommission;


    public String getAstrictId() {
        return astrictId;
    }

    public void setAstrictId(String astrictId) {
        this.astrictId = astrictId;
    }

    public Double getAstrictDinMinimum() {
        return astrictDinMinimum;
    }

    public void setAstrictDinMinimum(Double astrictDinMinimum) {
        this.astrictDinMinimum = astrictDinMinimum;
    }

    public Double getAstrictDinCommission() {
        return astrictDinCommission;
    }

    public void setAstrictDinCommission(Double astrictDinCommission) {
        this.astrictDinCommission = astrictDinCommission;
    }

    public Double getAstrictRinMinimum() {
        return astrictRinMinimum;
    }

    public void setAstrictRinMinimum(Double astrictRinMinimum) {
        this.astrictRinMinimum = astrictRinMinimum;
    }

    public Double getAstrictRinCommission() {
        return astrictRinCommission;
    }

    public void setAstrictRinCommission(Double astrictRinCommission) {
        this.astrictRinCommission = astrictRinCommission;
    }

    @Override
    protected Serializable pkVal() {
        return this.astrictId;
    }

    @Override
    public String toString() {
        return "Astrict{" +
        "astrictId=" + astrictId +
        ", astrictDinMinimum=" + astrictDinMinimum +
        ", astrictDinCommission=" + astrictDinCommission +
        ", astrictRinMinimum=" + astrictRinMinimum +
        ", astrictRinCommission=" + astrictRinCommission +
        "}";
    }
}
